package com.ruoyi.system.domain;

import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.annotation.Excel;
import com.ruoyi.common.core.domain.BaseEntity;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.Date;

/**
 * 【请填写功能名称】对象 audit_info
 *
 * @author ruoyi
 * @date 2024-09-17
 */
public class AuditInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 审核类型（兴趣点、评论、用户） */
    @Excel(name = "审核类型", readConverterExp = "兴=趣点、评论、用户")
    private Long auditType;

    /** 兴趣点ID、用户ID、评论ID */
    @Excel(name = "兴趣点ID、用户ID、评论ID")
    private Long dataId;

    /** 提交时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "提交时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date submitTime;

    /** 审核时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @Excel(name = "审核时间", width = 30, dateFormat = "yyyy-MM-dd")
    private Date auditTime;

    /** 审核状态(1通过、0失败) */
    @Excel(name = "审核状态(1通过、0失败)")
    private Long auditStatus;

    /** 审核备注 */
    @Excel(name = "审核备注")
    private String auditRemark;

    /** 提交人 */
    @Excel(name = "提交人")
    private Long submitId;

    /** 提交人姓名 */
    @Excel(name = "提交人姓名")
    private String submitName;

    /** 操作人ID */
    @Excel(name = "操作人ID")
    private Long opId;

    /** 操作人姓名 */
    @Excel(name = "操作人姓名")
    private String opName;

    public void setId(Long id)
    {
        this.id = id;
    }

    public Long getId()
    {
        return id;
    }

    public void setAuditType(Long auditType)
    {
        this.auditType = auditType;
    }

    public Long getAuditType()
    {
        return auditType;
    }

    public void setDataId(Long dataId)
    {
        this.dataId = dataId;
    }

    public Long getDataId()
    {
        return dataId;
    }

    public void setSubmitTime(Date submitTime)
    {
        this.submitTime = submitTime;
    }

    public Date getSubmitTime()
    {
        return submitTime;
    }

    public void setAuditTime(Date auditTime)
    {
        this.auditTime = auditTime;
    }

    public Date getAuditTime()
    {
        return auditTime;
    }

    public void setAuditStatus(Long auditStatus)
    {
        this.auditStatus = auditStatus;
    }

    public Long getAuditStatus()
    {
        return auditStatus;
    }

    public void setAuditRemark(String auditRemark)
    {
        this.auditRemark = auditRemark;
    }

    public String getAuditRemark()
    {
        return auditRemark;
    }

    public void setSubmitId(Long submitId)
    {
        this.submitId = submitId;
    }

    public Long getSubmitId()
    {
        return submitId;
    }

    public void setSubmitName(String submitName)
    {
        this.submitName = submitName;
    }

    public String getSubmitName()
    {
        return submitName;
    }

    public void setOpId(Long opId)
    {
        this.opId = opId;
    }

    public Long getOpId()
    {
        return opId;
    }

    public void setOpName(String opName)
    {
        this.opName = opName;
    }

    public String getOpName()
    {
        return opName;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("auditType", getAuditType())
            .append("dataId", getDataId())
            .append("submitTime", getSubmitTime())
            .append("auditTime", getAuditTime())
            .append("auditStatus", getAuditStatus())
            .append("auditRemark", getAuditRemark())
            .append("submitId", getSubmitId())
            .append("submitName", getSubmitName())
            .append("opId", getOpId())
            .append("opName", getOpName())
            .append("createTime", getCreateTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
